package com.appspot.mypartymanager.server;

import com.appspot.mypartymanager.client.ActionService;
import com.appspot.mypartymanager.entity.party.Party;

public class ActionServiceImpl implements ActionService {
	
	private static ActionServiceImpl instance  = null;
	
	/**
	 * Private constructor for Singleton
	 */
	private ActionServiceImpl() {
		
	}

	public static ActionServiceImpl getInstance() {
		
		if (instance == null) {
			instance = new ActionServiceImpl();
			return instance;
		}
		
		return instance;
		
	}

	@Override
	public Party getPartysByUser(String userEmailAdress) {
		
		/*
		Party userParty = null;
		PartyService es = new PartyServiceImpl();
		listUserPartys = es.getPartysByUser(userEmailAdress);
		return listUserPartys.get(0);*/
		
		
		return null;
		
	}

}
